package com.chuangshi.core.vote.player.controller.admin.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 人员信息管理端V1获取单条的接收参数
 *
 * @author ggliming
 * @date 2019-02-21
 */
@ApiModel(description = "人员信息管理端V1获取单条的接收参数")
public class PlayerAdminV1FindRequest extends Request {

    @ApiModelProperty(value = "人员编号", required = true, position = 10)
    @NotNull(message = "人员编号不能为空")
    @Length(max = 32, message = "人员编号长度超出限制")
    private String playerId;

    public String getPlayerId() {
        return playerId;
    }

    public void setPlayerId(String playerId) {
        this.playerId = playerId;
    }

}